<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>TOKBOX Video Conference</title>
 
<script type="text/javascript" src="swfobject.js"></script> 
 
<script language="javascript" type="text/javascript"> 
    function vmailSent(vmailID) {
        document.getElementById('message').innerHTML='<a href="http://www.tokbox.com/vp/'+vmailID+'" target="_blank">click</a>';
 
        var flashvars1 = {};
        flashvars1.inviteButton = "1";
        flashvars1.guestList = "1";
        flashvars1.observerMode = "1";
        flashvars1.targetVmail = vmailID;
 
        var params1 = {};
        params1.allowfullscreen = "true";
        params1.allowscriptaccess = "always";
 
        var attributes1 = {};
        attributes1.id = "tbx_player";
 
        swfobject.embedSWF("http://sandbox.tokbox.com/vp/", "play", "330", "295", "9.0.115", false, flashvars1, params1, attributes1);
    }
   
 
var flashvars = {};
flashvars.inviteButton = "1";
flashvars.guestList = "1";
flashvars.observerMode = "1";
flashvars.vmailFromEmail = "scjper@gmail.com"; 
flashvars.vmailToEmail = "wanny73@gmail.com";
 
var params = {};
params.allowfullscreen = "true";
params.allowscriptaccess = "always";
 
var attributes = {};
attributes.id = "tbx_recorder";

</script> 

</head> 
<body> 

	<table cellpadding="4" cellspacing="0">
	    <tr>
	        <!-- Banner row across the top -->
	        <td width="250" bgcolor="#FF99FF">
	        <td bgcolor="#FF99FF">&nbsp;  </td>
	
	        <td width="550" height="80" bgcolor="#FF99FF">
	            <p align="left">
            		<font size="6"> Video Mail will be recording for [${tokform.userID}]</font>
	            </p>
	        </td>
	    </tr>
	</table>

<script> 
	swfobject.embedSWF("http://sandbox.tokbox.com/vp/", "record", "330", "295", "9.0.115", false, flashvars, params, attributes);
</script>
	
VIDEO MAIL
 
</body> 
</html> 